package lines.gameengine.tracer;

import lines.gameengine.FieldPoint;

import java.util.List;

/**
 * @author vpotapenko
 */
public class SearchResult {

    private final List<FieldPoint> trace;
    private final boolean hasTrace;

    public SearchResult(List<FieldPoint> trace) {
        this(trace, true);
    }

    public SearchResult(List<FieldPoint> trace, boolean hasTrace) {
        this.trace = trace;
        this.hasTrace = hasTrace;
    }

    public List<FieldPoint> getTrace() {
        return trace;
    }

    public boolean hasTrace() {
        return hasTrace;
    }
}
